Skip to content

Conversation

@kzscisoft
Copy link
Collaborator

@kzscisoft kzscisoft commented Oct 7, 2025

Use UTC for all timestamps sent to server

Issue: #868

Python Version(s) Tested: 3.13

Operating System(s): Ubuntu 25.04

📝 Summary

Ensures UTC when creating timestamps for objects to be sent to the server.

🔍 Diagnosis

Alerts were misfiring due to inconsistent timestamps due to differing time zones.

🔄 Changes

Uses the simvue_timestamp function I had already created which has now been modified to also ensure UTC.

✔️ Checklist

  • Unit and integration tests passing.
  • Pre-commit hooks passing.
  • Quality checks passing.

@kzscisoft kzscisoft added this to the Simvue Python API v2.3 milestone Oct 7, 2025
@kzscisoft kzscisoft requested a review from wk9874 October 7, 2025 07:37
@kzscisoft kzscisoft added bug Something isn't working in review This issue is resolved in a Pull Request which is being reviewed python Pull requests that update python code labels Oct 7, 2025
@kzscisoft kzscisoft linked an issue Oct 7, 2025 that may be closed by this pull request
@kzscisoft kzscisoft marked this pull request as draft October 7, 2025 12:36
@kzscisoft kzscisoft marked this pull request as ready for review October 13, 2025 10:30
@kzscisoft kzscisoft requested a review from wk9874 October 13, 2025 11:10
@kzscisoft kzscisoft merged commit d50141b into dev Oct 13, 2025
20 checks passed
@kzscisoft kzscisoft deleted the kzscisoft/use-utc branch October 13, 2025 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working in review This issue is resolved in a Pull Request which is being reviewed python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Timestamps are incorrectly sent as localtime, not UTC

3 participants